import config from '@/config'
import UniStorage from "@/utils/UniStorage";
function getToken() {
	return UniStorage.get(config['TOKEN_KEY']);
}

function setToken(token : string) {
	UniStorage.set(config['TOKEN_KEY'], token);
}

function removeToken(){
	UniStorage.remove(config['TOKEN_KEY']);
}

export {
	getToken,
	setToken,
	removeToken
}